
//
// Created by Administrator on 2019/12/10.
//

#ifndef CPPDEMO_PERSON_H
#define CPPDEMO_PERSON_H

#include <cstdio>
#include <string>
#include <utility>

using namespace std;

class Person{
public:
    Person() : age(0){};

    explicit Person(int ag) : age(ag){};
    Person(int ag, string na) :age(ag), name(move(na)){};

    Person(const Person &p);

private:
    int age;
    string name;
};

#endif //CPPDEMO_PERSON_H
